// express提供了一个对象router

const router = require('express').Router() ;

// const userRouter = require('./users') ;

// router.get('/users/login' , cb)
// router.post('/users/reg' , cb)
// router.get('/goods/list' , cb)
// router.post('/goods/detail' , cb)
// router.get('/carts/list' , cb)
// router.post('/carts/detail' , cb)

// router.use('/users' , userRouter ) ;
router.use('/users' , require('./users') ) ;

// router.use('/goods' , require('./goods') ) ;

module.exports = router ;